package com.zam.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.zam.mapper.SysRoleMenuMapper;
import com.zam.pojo.SysRoleMenu;
import com.zam.service.ISysRoleMenuService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author zam
 * @since 2023-12-24
 */
@Service
public class SysRoleMenuServiceImpl extends ServiceImpl<SysRoleMenuMapper, SysRoleMenu> implements ISysRoleMenuService {
@Autowired
private SysRoleMenuMapper sysRoleMenuMapper;
    @Override
    public void removeByRoleId(Integer roleID) {
        sysRoleMenuMapper.deleteByRoleId(roleID);
    }
}
